package com.algorithm;

import java.util.Arrays;
import java.util.Iterator;
import java.util.List;

public class array2List {
	 private static  String[] arr={"one","two","three","four","five"};
	 static  List list=Arrays.asList(arr);
	public static void main(String[]args){
		 Iterator i=list.iterator();
		 while(i.hasNext()){
			 System.out.print(i.next()+",");
		 }

	}

}
